package com.wish.g04.financial.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wish.g04.base.dto.CustomDTO;
import com.wish.g04.base.dto.JrFactoringDTO;
import com.wish.g04.base.entity.FkBusinessCreditSub;
import com.wish.g04.financial.mapper.BusinessCreditSubMapper;
import com.wish.g04.base.service.IFkBusinessCreditSubService;
import com.wish.g04.financial.service.IBusinessCreditSubService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 风控公寓授信子表 服务实现类
 * </p>
 *
 * @author 薛凯
 * @since 2022-05-23
 */
@Service
public class BusinessCreditSubServiceImpl extends ServiceImpl<BusinessCreditSubMapper, FkBusinessCreditSub> implements IBusinessCreditSubService {

    /**
     * 自定义查询
     * 查询是否给该商户授权了该产品
     *
     * @param jrFactoringDTO
     * @return
     */
    @Override
    public CustomDTO selectCustom(JrFactoringDTO jrFactoringDTO) {
        return baseMapper.selectCustom(jrFactoringDTO);
    }
}
